﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls"
    Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormSection" Src="~/_controltemplates/InputFormSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormControl" Src="~/_controltemplates/InputFormControl.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ButtonSection" Src="/_controltemplates/ButtonSection.ascx" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AnonInfoPathConfig.aspx.cs"
    Inherits="WUSTL.SharePoint.WebParts.AnonInfoPath.Layouts.WUSTL.SharePoint.WebParts.AnonInfoPath.AnonInfoPathConfig"
    DynamicMasterPageFile="~masterurl/default.master" %>

<asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
</asp:Content>
<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">
    <table class="ms-propertysheet" border="0" width="100%" cellspacing="0" cellpadding="0">
        <!-- Error Section -->
        <asp:Literal ID="litError" runat="server" Text="" Visible="false" />
        <!-- People Picker section -->
        <wssuc:InputFormSection runat="server" ID="ifsAFVWPUser" Title="User to Submit Data As"
            Description="Choose the user/service account that you wish to use for form submissions.">
            <template_inputformcontrols>
			<wssuc:InputFormControl runat="server">
			<Template_Control>
			<table border="0" width="100%" cellspacing="0" cellpadding="2">
				<tr>
					<td nowrap="nowrap" class="ms-authoringcontrols">
						<div>
                        <SharePoint:PeopleEditor ID="peUser" runat="server" 
                        AllowEmpty="false" 
                        ValidatorEnabled="true" 
                        SelectionSet="User"
                        MultiSelect="false" />
                        </div>
					</td>
				</tr>
				</table>
				</Template_Control>
			</wssuc:InputFormControl>
		</template_inputformcontrols>
        </wssuc:InputFormSection>
        <!-- Button Section -->
        <wssuc:ButtonSection runat="server" ID="bsSubmit">
            <template_buttons>
				<asp:Button runat="server" ID="btnSave" class="ms-ButtonHeightWidth" UseSubmitBehavior="false" OnClick="UpdateSettings" Text="<%$Resources:wss,multipages_okbutton_text%>" accesskey="<%$Resources:wss,okbutton_accesskey%>" />
			</template_buttons>
        </wssuc:ButtonSection>
    </table>
</asp:Content>
<asp:Content ID="PageTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
    Anonymous Form View Web Part Configuration
</asp:Content>
<asp:Content ID="PageTitleInTitleArea" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea"
    runat="server">
    <asp:Literal ID="Literal1" runat="server" Text="<a href='" /><asp:Literal runat="server"
        ID="litWebURL" /><asp:Literal ID="Literal2" runat="server" Text="/_layouts/settings.aspx'>" /><SharePoint:EncodedLiteral
            ID="EncodedLiteral1" runat="server" Text="<%$Resources:wss,settings_pagetitle%>"
            EncodeMethod="HtmlEncode" /></a>&#32;<SharePoint:ClusteredDirectionalSeparatorArrow
                ID="ClusteredDirectionalSeparatorArrow1" runat="server" />
    Anonymous Form View Web Part Configuration
</asp:Content>
<asp:Content ID="PlaceHolderPageDescription" ContentPlaceHolderID="PlaceHolderPageDescription"
    runat="server">
    Manage the configuration for this site's Anonymous Form View Web Parts.
</asp:Content>
